import { configureStore } from "@reduxjs/toolkit"
import { typeReducer } from "./typeSlice"
import { userReducer } from "./userSlice"

export const store = configureStore({
  reducer: {
    // 各个模块
    typeReducer,
    userReducer
  },
})

export type ROOT_STATE = ReturnType<typeof store.getState>
